﻿<UserControl x:Class="QuizzUI.ListBoxQuizzItm"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" Height="Auto" Width="Auto"
             MaxHeight="50"
             d:DesignHeight="50" d:DesignWidth="250" Background="Transparent">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <DockPanel Grid.Column="0">
            <CheckBox Name="cbxEnable" VerticalAlignment="Center" Margin="5,0,0,0" Click="cbxEnable_Click" />
            <Label Content="0" FontSize="25" Name="lblEnumerate" />
        </DockPanel>
        <TextBox Text="Quizz Name" FontSize="14" VerticalAlignment="Stretch" Grid.Column="1"
                 AcceptsReturn="True" HorizontalAlignment="Stretch" TextWrapping="WrapWithOverflow" 
                 VerticalScrollBarVisibility="Auto" Name="tbxQuizzName" />
        <Image Grid.Column="2" Source="/QuizzUI;component/Images/Gears.png" Cursor="Hand" />
        
        <Border HorizontalAlignment="Right" Background="Black" Width="3" />
    </Grid>
</UserControl>
